#!/bin/sh

DATE=`date +%Y%m%d_%H%M%S`
BAKNAME=src-fhomed-$DATE.tgz

cd ~/Projects
tar czf $BAKNAME fhome
if [ ! -d backup ];
then
	mkdir backup
fi
mv $BAKNAME backup

cd backup
#scp $BAKNAME lancer@ninipic.cn:~/
